package com.ruoyi.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ip检测对象 shenglong_monitoring_ip
 *
 * @author ruoyi
 * @date 2023-07-01
 */
public class ShenglongMonitoringIp extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    private String id;

    /**
     * 设备
     */
    @Excel(name = "设备")
    private String equipment;

    /**
     * ip地址
     */
    @Excel(name = "ip地址")
    private String ipAddress;

    /**
     * 上线时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date onTime;

    /**
     * 掉线时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "掉线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date offTime;

    /**
     * 在线状态
     */
    @Excel(name = "在线状态")
    private String status;

    /**
     * 类别
     */
    @Excel(name = "类别")
    private String type;

    /**
     * 是否隐藏
     */
    @Excel(name = "是否隐藏")
    private String whetherToDisplay;

    /**
     * 网络设备序列号
     */
    @Excel(name = "网络设备序列号")
    private String serialNumber;

    /**
     * ONU安装地址
     */
    @Excel(name = "ONU安装地址")
    private String equipmentAddress;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String notes;

    /**
     * 备注2
     */
    @Excel(name = "备注2")
    private String remarks;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setEquipment(String equipment) {
        this.equipment = equipment;
    }

    public String getEquipment() {
        return equipment;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setOnTime(Date onTime) {
        this.onTime = onTime;
    }

    public Date getOnTime() {
        return onTime;
    }

    public void setOffTime(Date offTime) {
        this.offTime = offTime;
    }

    public Date getOffTime() {
        return offTime;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setWhetherToDisplay(String whetherToDisplay) {
        this.whetherToDisplay = whetherToDisplay;
    }

    public String getWhetherToDisplay() {
        return whetherToDisplay;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setEquipmentAddress(String equipmentAddress) {
        this.equipmentAddress = equipmentAddress;
    }

    public String getEquipmentAddress() {
        return equipmentAddress;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getNotes() {
        return notes;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getRemarks() {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("equipment", getEquipment())
                .append("ipAddress", getIpAddress())
                .append("onTime", getOnTime())
                .append("offTime", getOffTime())
                .append("status", getStatus())
                .append("type", getType())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("whetherToDisplay", getWhetherToDisplay())
                .append("serialNumber", getSerialNumber())
                .append("equipmentAddress", getEquipmentAddress())
                .append("notes", getNotes())
                .append("remarks", getRemarks())
                .toString();
    }
}
